package org.jeecg.modules.smartcampus.com.smartcampus.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 签到信息表
 * @Author: jeecg-boot
 * @Date:   2020-08-07
 * @Version: V1.0
 */
@Data
@TableName("signin")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="signin对象", description="签到信息表")
public class Signin implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "主键")
    private String id;
	/**签到编号*/
	@Excel(name = "签到编号", width = 15)
    @ApiModelProperty(value = "签到编号")
    private String sino;
	/**签到时间*/
	@Excel(name = "签到时间", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "签到时间")
    private Date sitime;
	/**教师编号*/
	@Excel(name = "教师编号", width = 15)
    @ApiModelProperty(value = "教师编号")
    private String tno;
	/**课程编号*/
	@Excel(name = "课程编号", width = 15)
    @ApiModelProperty(value = "课程编号")
    private String cno;
	/**学生编号*/
	@Excel(name = "学生编号", width = 15)
    @ApiModelProperty(value = "学生编号")
    private String sno;
}
